#define _CRT_SECURE_NO_WARNINGS 1
#include <stdio.h>

void func(int n)
{
	int a = 10 * n + n;
	int b = 10 * a + n;
	int c = 10 * b + n;
	int d = 10 * c + n;
	int f = n + a + b + c + d;
	printf("%d+%d+%d+%d+%d = %d", n, a, b, c, d, f);
}
int main()
{
	int n = 0;
	scanf("%d", &n);
	func(n);
	return 0;
 }